package com.bcst.pojo;

import java.util.List;

/**
  分页返回体
 *@description 欢迎关注公众号 编程识堂,每日更新技术相关文章，关注我不迷路
 *@author 小堂
 *@create 2023/7/20 20:54
 */
public class PageVO<T>{

    /**
     * 分页总数
     */

    private long total;
    /**
     * 数据集
     */
    private List<T> rows;

    public PageVO() {
    }

    public PageVO(long total, List<T> rows) {
        this.total = total;
        this.rows = rows;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }

}